
//------------------------------------------------------------------------------

using Apps.Models;
using System;
using System.ComponentModel.DataAnnotations;
namespace Apps.Models.PLAN
{

	public partial class PLAN_TEMPPURCHASEModel:Virtual_PLAN_TEMPPURCHASEModel
	{
		
	}
	public class Virtual_PLAN_TEMPPURCHASEModel
	{
		[Display(Name = "燃煤临购计划编号")]
		public virtual string TEMPPURCHASE_ID { get; set; }
		[Display(Name = "临购计划单号")]
		public virtual string ODD_NUMBER { get; set; }
		[Display(Name = "年度"), Required]
		public virtual Nullable<short> YEAR { get; set; }
		[Display(Name = "月度"), Required]
		public virtual Nullable<byte> MONTH { get; set; }
		[Display(Name = "计划采购量")]
		public virtual Nullable<decimal> PLANNED_PURCHASE { get; set; }
		[Display(Name = "当前库存")]
		public virtual Nullable<decimal> CURRENT_STOCK { get; set; }
        /// <summary>
        /// 是否年度计划（枚举TempPurchasePlanType）
        /// </summary>
		[Display(Name = "预计耗煤量")]
		public virtual Nullable<decimal> ESTIMATE_COAL { get; set; }
		[Display(Name = "临购类型")]
		public virtual Nullable<int> TYPE { get; set; }
		[Display(Name = "备注"),DataType(DataType.MultilineText)]
		public virtual string MARK { get; set; }
		[Display(Name = "编制人")]
		public virtual string COMPILE_USER { get; set; }
        [Display(Name = "编制人")]
        public virtual string COMPILE_USERNAME { get; set; }
        /// <summary>
        /// 编制时间(YYYY-MM-DD HH24:MI:SS)
        /// </summary>
		[Display(Name = "编制时间"), Required]
		public virtual Nullable<System.DateTime> COMPILE_TIME { get; set; }
		[Display(Name = "审批流程模板编号")]
		public virtual string TEMPLATE_ID { get; set; }
        /// <summary>
        /// 审批状态（枚举ApprovalStatus）
        /// </summary>
		[Display(Name = "审批状态")]
		public virtual int APPROVAL_STATUS { get; set; }


		}
}
